<?php

/**
 * Created by PhpStorm.
 * User: Mr wang
 * Date: 2019/11/11
 * Time: 下午2:08
 */

namespace App\HttpController\Router;

use FastRoute\RouteCollector;

class Message {
    public static function add(RouteCollector $routeCollector) {
        $routeCollector->get('/api/messageList', '/Api/Message/messageList');
        $routeCollector->get('/api/chatList', '/Api/Message/chatList');
        $routeCollector->get('/api/serviceMessage', '/Api/Message/serviceMessage');
        $routeCollector->get('/api/sendRecordClient', '/Api/Message/sendRecordClient');
        $routeCollector->get('/api/getUnreadTotal', '/Api/Message/getUnreadTotal');
        $routeCollector->get('/api/searchMessage', '/Api/Message/searchMessage');
    }
}
